package com.shuai.vo;

import com.shuai.entity.File;
import com.shuai.entity.ProjectUserRelation;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProjectVO implements Serializable {

    @ApiModelProperty("项目id")
    private Long id;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("企业id")
    private Long enterpriseId;

    @ApiModelProperty("截止日期")
    private LocalDateTime deadline;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("文件列表")
    private List<File> files;

    @ApiModelProperty("项目成员列表")
    private List<ProjectUserRelationVO> relations;
}
